From acdecb6aa440eb98066acc4d3c316affbc62a944 Mon Sep 17 00:00:00 2001 From: Thomas Jaeger Date: Tue, 29 Sep 2009 01:56:59 -0400 Subject: [PATCH] Report XInput button motion events until all buttons are released. Signed-off-by: Thomas Jaeger https://bugzilla.gnome.org/show_bug.cgi?id=588649 --- gdk/x11/gdkinput-xfree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/x11/gdkinput-xfree.c b/gdk/x11/gdkinput-xfree.c index 695175f61c..4d590ea9cf 100644 --- a/gdk/x11/gdkinput-xfree.c +++ b/gdk/x11/gdkinput-xfree.c @@ -284,7 +284,7 @@ _gdk_input_other_event (GdkEvent *event, if (event->type == GDK_BUTTON_PRESS) iw->button_down_window = window; - if (event->type == GDK_BUTTON_RELEASE) + if (event->type == GDK_BUTTON_RELEASE && !gdkdev->button_count) iw->button_down_window = NULL; if (event->type == GDK_PROXIMITY_OUT && -- 2.30.2